module Edge(
	I_X1Value,
	I_Y1Value,
	I_X2Value,
	I_Y2Value,
	O_A,
	O_B,
	O_C
);

input [17:0] I_X1Value;
input [17:0] I_Y1Value;
input [17:0] I_X2Value;
input [17:0] I_Y2Value;

output [17:0] O_A;
output [17:0] O_B;
output [17:0] O_C;

wire [17:0] c_1;
wire [17:0] c_2;

assign O_A = I_Y1Value - I_Y2Value;
assign O_B = I_X2Value - I_X1Value;
assign c_1 = -1 * O_A * I_X2Value;
assign c_2 = -1 * O_B * I_Y2Value;
assign O_C = c_1 + c_2;

endmodule